<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="3.0"
               xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
               xmlns="http://www.w3.org/1999/xhtml"
               xmlns:java="com.uni.crawl.common.util.crawl"
               exclude-result-prefixes="java">

    <xsl:template match="//*[@class='list']">
        <root>
            <xsl:for-each select=".//li">
                <articleList>
                    <title>
                        <xsl:value-of select="a/@title"/>
                    </title>
                    <src>
                        <xsl:value-of select="a/img/@src"/>
                    </src>
                    <remark>
                        <xsl:value-of select="a/b/text()"/>
                    </remark>
                    <detailUrl>
                        <xsl:value-of select="concat('http://www.netbian.com',normalize-space(a/@href))"/>
                    </detailUrl>
                </articleList>
            </xsl:for-each>
        </root>
    </xsl:template>
</xsl:transform>